package com.ruoyi.common.enums;

/**
 * @author ab785
 * createTime: 2021-10-21.
 * description: 验证码类型
 */
public enum CaptchaType {
    
    MATH("数值计算", "math"),

    CHAR("字符识别", "char"),

    BLOCK_PUZZLE("滑块验证", "blockPuzzle"),

    CLICK_WORD("文字点选", "clickWord");

    /**
     * 名称
     */
    private String name;

    /**
     * 值
     */
    private String value;

    CaptchaType(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
